﻿@model IEnumerable<JobCommon.Model.Job_Config>
@{
    Layout = "~/Views/Shared/_MainLayout.cshtml";
    ViewBag.Title = "任务列表";

}
<h2>任务列表<a href="/CronJobs/Edit">新增</a></h2>
<table class="table table-striped table-hover ">
    <thead>
        <tr>
            <th>Job显示名称</th>
            <th>Job名称</th>
            <th>重复模式</th>
            <th>是否可用</th>
            <th>运行状态</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td><a href="/CronJobs/Edit?id=@item.ID">@item.JobDisplayName</a></td>
                <td>@item.JobName</td>
                <td>@item.RepeatMode</td>
                <td>@item.IsEnable</td>
                <td>@item.Status</td>
            </tr>
        }
    </tbody>
</table>
